.project-linemap {
    padding: var(--tiklab-padding);
    background-color: #fff;

    .project-linemap-head {
        display: flex;
        align-items: center;
        gap: 20px;
        height: 40px;
        line-height: 40px;

        .project-linemap-title {
            font-size: var(--tiklab-font-16);
            font-weight: var(--tiklab-font-weight-bold);
            display: flex;
            align-items: center;
        }

        .line-map-tab {
            display: flex;
            gap: 20px;
            position: sticky;
            padding: 20px 0 15px 0;

            .tab-tabpane {
                cursor: pointer;
                background-color: var(--tiklab-gray-600);
                height: 32px;
                width: 80px;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 10px;
            }

            .tab-tabpane-select {
                font-weight: var(--tiklab-font-weight-bold);
                color: var(--tiklab-blue);
                background-color: var(--tiklab-gray-200);
            }
        }
    }
}

.linemap {
    padding: 10px 0;
}

.sprint-linemap {
    height: calc(100% - 160px);
}

.version-linemap {
    height: calc(100% - 160px);
}

.epic-linemap {
    height: calc(100% - 165px);
    position: relative;

}

.linemap {
    padding: 10px 0;
}

.linemap-time {
    margin-top: 15px;
    position: relative;
    height: 100%;

    ul {
        margin: 0;
        padding: 0;
    }

    .linemap-time::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
    }

    .linemap-time {
        -ms-overflow-style: none;
        overflow: -moz-scrollbars-none;
    }

    .time-table {
        border-bottom: 1px solid #fafafa;
        text-align: center;
        overflow: hidden;
        position: relative;
        height: 100%;
        flex: 1;

        .table-border {
            border-bottom: 1px solid #fafafa;
            height: 50px;
            line-height: 50px;
        }

        .table-hearder {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 50px;
            background-color: #fafafa;
            overflow: hidden;
            font-weight: var(--tiklab-font-weight-bold);
            position: relative;
            top: 0;

            .table-hearder-gatter {
                flex: 1;
                height: 50px;

                font-weight: var(--tiklab-font-weight-bold);
                overflow: auto;
            }

            .table-hearder-gatter::-webkit-scrollbar {
                width: 0 !important;
                height: 0 !important;
            }

            .table-hearder-gatter {
                -ms-overflow-style: none;
                overflow: -moz-scrollbars-none;
            }

            .table-hearder-text {
                height: 50px;
                text-align: left;
                padding-left: 15px;
            }

            .table-hearder-title {
                width: 300px;
            }

            .table-hearder-status {
                width: 60px;
            }

            .table-hearder-assigner {
                width: 90px;
                border-right: 1px solid var(--tiklab-gray);
            }

            .table-hearder-time {
                width: 250px;
                border-right: 1px solid var(--tiklab-gray);
            }

            .table-timer {
                .table-month {
                    height: 25px;
                    line-height: 25px;
                    background-color: #fafafa;
                    display: inline-flex;

                    .table-month-td {
                        border-right: solid #fff 1px;
                        font-size: 12px;
                        overflow: hidden;
                    }
                }
            }

            .table-date {
                height: 25px;
                display: inline-flex;
                text-align: center;
                border-bottom: 1px solid var(--tiklab-gray);
                line-height: 25px;

                .table-weekday {
                    border-right: 1px solid #fff;
                    box-sizing: border-box;
                }
            }

            .table-day {
                font-size: 12px;
            }

            .table-week {
                background-color: #f0f0f0;
            }
        }

        .table-hidden {
            display: none;
        }

        .table-tr {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 50px;

            .table-td {
                height: 50px;
                position: relative;
                padding-left: 15px;
                text-align: left;

                .table-icon {
                    display: inline-block;
                    position: absolute;
                    left: 10px;
                    top: 18px;
                }
            }

            .table-td-name {
                width: 300px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;

                display: flex;
                align-items: center;

            }

            .table-td-status {
                width: 60px;
            }

            .table-td-assigner {
                width: 90px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                border-right: #f0f0f0 1px solid;
            }

            .table-td-time {
                width: 250px;
                border-right: #f0f0f0 1px solid;
                box-sizing: border-box;
            }

            .table-gatter {
                flex: 1;
            }
        }

        .table-body {
            max-height: calc(100% - 50px);
            overflow-y: hidden;

            .table-grey {
                background: #f7f7f7;
            }

            // ul:nth-child(2n+0) {
            //     
            // }
        }

        .table-pic::-webkit-scrollbar {
            width: 0 !important;
            height: 0 !important;
        }

        .table-pic {
            -ms-overflow-style: none;
            overflow: -moz-scrollbars-none;
        }

        .table-pic {
            position: absolute;
            top: 50px;
            right: 0;
            width: calc(100% - 450px);
            max-height: calc(100% - 50px);
            overflow-x: auto;
            overflow-y: hidden;

            .table-date-background {
                // display: flex;
                position: absolute;
                height: 100%;
                top: 0;
                left: 0;
                display: inline-flex;
                text-align: center;

                // line-height: 25px;
                .table-weekday {
                    border-right: 1px solid #f0f0f0;
                    box-sizing: border-box;
                }

                .table-month {
                    border-right: 1px solid #f0f0f0;
                }
            }

            .table-overflow {
                overflow: auto;
            }

            .table-day {
                border-right: #fafafa solid 1px;
            }

            .table-timer {
                .table-month {
                    height: 25px;
                    line-height: 25px;
                    background-color: #d0e5f2;
                    display: inline-flex;

                    .table-month-td {
                        border-right: solid #fff 1px;
                    }
                }
            }

            .table-overflow {
                height: 100%;

                .gantt-box {
                    height: calc(100% - 50px) !important;
                }
            }
        }


    }
}

.top-botton {
    text-align: right;

    .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
        z-index: 1;
        color: #ffff;
        background: #fafafa;
        border-color: #fafafa;
    }

    .ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child {
        border-right-color: #fafafa;
    }
}

.scroll-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;

    .scroll-box {
        width: calc(100% - 450px);
        height: 10px;
        background-color: #f5f5f5;
        border-radius: 4px;
        position: relative;

        .scroll-slider {
            width: 50px;
            height: 10px;
            background-color: rgba(0, 0, 0, 0.4);
            border-radius: 4px;
            position: absolute;
            top: 0;
            left: 0;
        }
    }
}

.scroll-col {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 50;
    right: -15;
    height: calc(100% - 50px);

    .scroll-box {
        width: 10px;
        height: 100%;
        background-color: #f5f5f5;
        border-radius: 4px;
        position: relative;

        .scroll-slider {
            width: 10px;
            height: 50px;
            background-color: rgba(0, 0, 0, 0.4);
            border-radius: 4px;
            position: absolute;
            top: 0;
            left: 0;
        }
    }
}